//
//  CenterScrollView.h
//  atlas
//
//  Created by 你好 on 17/1/16.
//  Copyright © 2017年 xyxNav. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CenterScrollView : UIView

@property (nonatomic,retain)UIButton *leftButton;
@property (nonatomic,retain)UIButton *rightButton;
@property (nonatomic,retain)UIView *lineView;
@property (nonatomic,assign)id delegate;
@property (nonatomic) Boolean isLeft;

-(void)configUI;
-(void)configFrame;

-(void)leftButtonClick:(UIButton *)button;
-(void)rightButtonClick:(UIButton *)button;

@end



@protocol CenterScrollViewDelegate <NSObject>

-(void)didLeftButonClick:(CenterScrollView *)scrollView;
-(void)didRightButtonClick:(CenterScrollView *)scrollView;


@end
